﻿using System.Collections.Generic;

namespace NExt
{
    public class Toolbarr: Toolbarr<ToolbarrEvents>
    {
    }

    public abstract class Toolbarr<TEvents> : BoxComponent<TEvents>
        where TEvents : ToolbarrEvents, new()
    {
        protected Toolbarr()
        {
            buttons = new List<object>();
        }

        public IList<object> buttons { get; set; }
    }

    public class ToolbarrEvents : BoxComponentEvents
    {
    }
}
